package com.msb.apidriver.service;

import com.msb.apidriver.feign.ServiceDriverUserClient;
import com.msb.commons.dto.DriverUser;
import com.msb.commons.response.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chshh
 * @version: 1.0
 */
@Service
public class UserService {
    @Autowired
    private ServiceDriverUserClient serviceDriverUserClient;

    public ResponseResult updateDriverUser(DriverUser driverUser){

        return serviceDriverUserClient.updateDriverUser(driverUser);
    }
}
